package com.goldgov.information.service;

import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CrawlerLogService {

	/**
	 * 获取爬虫运行日志列表
	 * @param query
	 */
	List<CrawlerLog> getCrawlerLogList(@Param("query") CrawlerLogQuery query);
	
	/**
	 * 获取爬虫运行日志列表
	 * @param query
	 */
	CrawlerLog getCrawlerLogCount(CrawlerLog log);
	
	/**
	 *  新增爬虫运行日志
	 * @param article
	 */
	void addCrawlerLog(CrawlerLog crawlerLog);
	
	/**
	 * 删除爬虫日志
	 * @param ids
	 */
	void deleteCrawlerLogByIDs(@Param("ids")String[] ids);
	
	/**
	 * 根据规则ID删除爬虫日志
	 * @param id
	 */
	void deleteCrawlerLogByRulesID(@Param("id")String id);
}
